﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditProductInfoForm.aspx.cs"
    Inherits="Wei8808Cms.WebSite.admin.Product.EditProductInfoForm" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>编辑产品功能</title>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../js/jquery.validate.min.js" type="text/javascript"></script>
    <script src="../js/messages_cn.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
    <script src="../js/cursorfocus.js" type="text/javascript"></script>
    <script src="../js/multipleupload.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="back"><a href="ProductMasterForm.aspx">返回列表</a></span><b>您当前的位置： 产品功能管理
            &gt; 发布产品功能</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">
                发布产品功能
            </th>
        </tr>
        <tr>
            <td align="right">
                产品功能名称：
            </td>
            <td>
                <asp:TextBox ID="txtProductName" runat="server" CssClass="input w250 required" MaxLength="250"
                    HintTitle="产品功能名称" HintInfo="控制在100个字符内，标题文本尽量不要太长。"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td width="15%" align="right">
                产品功能标题：
            </td>
            <td width="85%">
                <asp:TextBox ID="txtProductTitle" runat="server" CssClass="input w250 required" MaxLength="250"
                    minlength="3" HintTitle="产品功能标题" HintInfo="控制在100个字符内，标题文本尽量不要太长。"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                产品功能小图标：
            </td>
            <td>
                <asp:TextBox ID="txtImgUrl" runat="server" CssClass="input w380 left" HintTitle="产品的图片"
                    HintInfo="请在右边“选择/上传”"></asp:TextBox>
                <a href="javascript:void(0);" class="files">
                    <input type="file" id="FileUpload" name="FileUpload" /></a> <span class="uploading">
                        正在上传，请稍候...</span>
            </td>
        </tr>
        <tr>
            <td align="right" valign="top">
                产品功能介绍：
            </td>
            <td>
                <FCKeditorV2:FCKeditor ID="FCKeditor" runat="server" BasePath="~/FCKedit/" Height="400px"
                    ToolbarSet="ROY" Width="100%" Value="">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td align="right">
                排序：
            </td>
            <td>
                <asp:TextBox ID="txtOrderId" runat="server" CssClass="input required number">0</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                产品属性：
            </td>
            <td>
                <asp:CheckBoxList ID="cblItem" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1">推荐到首页</asp:ListItem>
                </asp:CheckBoxList>
            </td>
        </tr>
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;
        <input name="重置" type="reset" class="submit" value="重置" />
    </div>
    </form>
</body>
</html>
